package com.better.backend.dataComputingService.repository.stuScoreRespository;

import com.better.backend.dataComputingService.model.stuScore.ExamStudentScoreCalModel;
import com.better.common.mongo.repository.CommonRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2017/11/8.
 */
@Repository
public interface ExamStuScoRepsitory extends CommonRepository<ExamStudentScoreCalModel,String>{
    List<ExamStudentScoreCalModel> findByExamId(String examId);
    List<ExamStudentScoreCalModel> findByExamIdAndGradeId(String examId,String gradeId);
}
